package com.fancy.dao;

import com.sun.istack.internal.NotNull;
import entity.StudentCourse;

import java.util.List;

/**
 * Created by Jackie on 2017/10/17.
 */
public interface StudentCourseDao {

    boolean insertStudentCourse(StudentCourseDao studentCourseDao);

    boolean removeStudentCourse(int course_id, @NotNull String student_id);

    boolean updateStudentCourse(int course_id, String  student_id , StudentCourse newStudentCourse);

    StudentCourse findStudentCourse(int course_id, String student_id);

    List<StudentCourse> findStudentCourses();

}
